/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-20 18:58:29
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-20 19:22:16
 */
public class Student extends Person implements ISingAble,IFlyAble{
    private String id;
    private double score;
    public Student(){

    }
    public Student(String name, int age,String id,double score){
        super(name, age);
        this.id = id;
        this.score = score;
    }
    public void study(){
        System.out.println(getName()+"正在学习");
    }
    @Override
    public void sing() {
        System.out.println(getName()+"正在唱歌");
    }
    @Override
    public void fly() {
        System.out.println(getName()+"正在飞");
    }
    
}
